package Day03;

public class OperDemo4 {
    public static void main(String[] args) {
        //赋值运算=,+=,-=,*=,/=,%=
        int a=1;
        a -= 2;
        System.out.println(a);
        a *= 3;
        System.out.println(a);
        a /= 4;
        System.out.println(a);
        a += 10;
        System.out.println(a);
        a %= 3;
        System.out.println(a);

        short s = 5;
        s = (short) (s + 10);
        s += 10;
        System.out.println(s);

        String s1;
    }
}
